/**
 * @description: 站点组
 */
import { defHttp } from '../../http'
import type { CommonAPI } from '../../schema/all'
/** 获取站点组列表 */
export const getApiSiteSiteGroupListApi: CommonAPI<
  '/api/site/site-group',
  'get'
> = (data) => defHttp.get(`/api/site/site-group`, { data })

/** 更新站点组 */
export const updateApiSiteSiteGroupApi: CommonAPI<
  '/api/site/site-group',
  'put'
> = (data) => defHttp.put(`/api/site/site-group`, { data })

/** 创建站点组 */
export const addApiSiteSiteGroupApi: CommonAPI<
  '/api/site/site-group',
  'post'
> = (data) => defHttp.post(`/api/site/site-group`, { data })

/** 删除站点组 */
export const deleteApiSiteSiteGroupApi: CommonAPI<
  '/api/site/site-group',
  'delete'
> = (data) => defHttp.delete(`/api/site/site-group`, { data })
